import request from "@/utils/axiosHttp";

//分页列表
export function deviceCustomerList(query) {
	return request({
		url: '/deviceCustomer/pageList',
		method: 'get',
		params: query
	})
}

//加入黑名单
export function insertBlacklist(data) {
	return request({
		url: '/deviceCustomer/insertBlacklist',
		method: 'post',
		data: data
	})
}

//加入黑名单
export function deviceCustomerBlackList(query) {
	return request({
		url: '/deviceCustomer/blacklist',
		method: 'get',
		params: query
	})
}

//移除黑名单
export function removeBlacklist(data) {
	return request({
		url: '/deviceCustomer/removeBlacklist',
		method: 'post',
		data: data
	})
}